Skip to content

Add agentic development setup#35

Open
zbowling wants to merge 1 commit into
oculus-samples:mainfrom
zbowling:add-agentic-tooling
Open

Add agentic development setup#35
zbowling wants to merge 1 commit into
oculus-samples:mainfrom
zbowling:add-agentic-tooling

Conversation

@zbowling

Copy link
Copy Markdown

Summary

This PR makes the sample repository agent-ready for Meta Quest / Horizon OS development.

It adds:

  • shared agent instructions in AGENTS.md (tailored to this sample)
  • MCP configuration for hzdb (.mcp.json, .vscode/mcp.json, .cursor/mcp.json)
  • VS Code / Cursor recommendation for the Meta Horizon extension (.vscode/extensions.json)
  • client-specific shims for Claude (CLAUDE.md), Gemini (GEMINI.md), Cursor (.cursor/rules/*), GitHub Copilot (.github/copilot-instructions.md, .github/instructions/*, .github/prompts/*), Cline (.clinerules/*), Roo (.roo/rules/*), Windsurf (.windsurfrules), OpenCode (opencode.jsonc, .opencode/commands/*), and Aider (.aider.conf.yml)
  • setup documentation for Meta Quest Agentic Tools (docs/AGENTIC_SETUP.md)

Recommended VS Code / Cursor extension:

https://marketplace.visualstudio.com/items?itemName=meta.meta-vr-dev

Meta Quest Agentic Tools:

https://github.com/meta-quest/agentic-tools

Test plan

  • JSON configuration files validate (.mcp.json, .vscode/mcp.json, .vscode/extensions.json, .cursor/mcp.json, opencode.jsonc)
  • meta.meta-vr-dev appears in .vscode/extensions.json
  • @meta-quest/hzdb appears in .mcp.json, .vscode/mcp.json, .cursor/mcp.json
  • No runtime source code changes; no lockfile or build manifest changes
  • README.md mentions the Meta Horizon extension

Notes

This PR keeps repository-local instructions small and points to the central Meta Quest Agentic Tools repository for the full toolchain.

Copilot AI review requested due to automatic review settings May 27, 2026 20:23
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds repository-wide “agent-ready” configuration and documentation for Meta Quest / Horizon OS workflows, including MCP server setup and client-specific instruction files.

Changes:

  • Introduces canonical agent guidance in AGENTS.md and surfaces it in README.md.
  • Adds MCP server configuration (hzdb) and client-specific rules/prompts for multiple agent clients/editors.
  • Adds setup documentation for agentic tooling across supported clients.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
opencode.jsonc Adds OpenCode configuration pointing to repository instructions.
docs/AGENTIC_SETUP.md Documents agent tooling setup and recommended client configurations.
README.md Adds “Agent-ready development” section with setup pointers and a starter prompt.
GEMINI.md Adds Gemini-specific instructions and install commands.
CLAUDE.md Adds Claude Code-specific instructions and points to .mcp.json.
AGENTS.md Adds canonical agent instructions plus project-specific Unity/SharedSpaces context.
.windsurfrules Adds Windsurf rules pointing to AGENTS.md and hzdb MCP install.
.roo/rules/meta-quest-agentic-tools.md Adds Roo Code rules for Meta Quest agentic tooling.
.opencode/commands/setup-meta-quest-tools.md Adds an OpenCode command doc for installing hzdb MCP config.
.mcp.json Adds project MCP server definition for hzdb.
.github/prompts/setup-meta-quest-agentic-tools.prompt.md Adds a Copilot prompt for initial Meta Quest agentic setup.
.github/prompts/debug-on-quest.prompt.md Adds a Copilot prompt geared toward debugging on Quest with hzdb.
.github/instructions/meta-quest.instructions.md Adds global GitHub instructions to prefer Meta Quest agentic tools.
.github/copilot-instructions.md Adds Copilot-specific instructions and MCP setup command.
.cursor/rules/meta-quest-agentic-tools.mdc Adds Cursor rules preferring Meta Quest tooling and hzdb.
.cursor/mcp.json Adds Cursor MCP server definition for hzdb.
.clinerules/meta-quest-agentic-tools.md Adds Cline rules preferring Meta Quest tooling and hzdb.
.aider.conf.yml Configures Aider to read AGENTS.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/AGENTIC_SETUP.md Outdated
Comment on lines +27 to +38
| Client | Repo file | Recommended setup |
| -------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| VS Code | `.vscode/extensions.json`, `.vscode/mcp.json`, `.github/copilot-instructions.md` | Install `meta.meta-vr-dev`; optionally run `npx -y @meta-quest/hzdb mcp install vscode` |
| Cursor | `.vscode/extensions.json`, `.cursor/mcp.json`, `.cursor/rules/*` | Install `meta.meta-vr-dev`; optionally run `npx -y @meta-quest/hzdb mcp install cursor` |
| Claude Code | `.mcp.json`, `CLAUDE.md` | `/plugin marketplace add meta-quest/agentic-tools`; `/plugin install meta-vr@meta-quest` |
| Gemini CLI | `GEMINI.md` | `gemini extensions install https://github.com/meta-quest/agentic-tools` |
| GitHub Copilot | `.github/copilot-instructions.md`, `.github/instructions/*`, `.github/prompts/*` | Use the repository instructions and install the recommended VS Code extension |
| Cline | `.clinerules/*`, `AGENTS.md` | Use `AGENTS.md`; configure MCP if supported |
| Roo Code | `.roo/rules/*`, `AGENTS.md` | Use `AGENTS.md`; configure MCP if supported |
| Windsurf | `.windsurfrules` | `npx -y @meta-quest/hzdb mcp install windsurf` |
| OpenCode | `opencode.jsonc`, `.opencode/*` | `npx -y @meta-quest/hzdb mcp install open-code` |
| Codex | `AGENTS.md` | `npx -y @meta-quest/hzdb mcp install codex` |
Comment thread AGENTS.md Outdated
- ParrelSync (`com.veriorpies.parrelsync`) is intentionally included to support running two Editor instances side-by-side for multiplayer testing.
- The `com.meta.tutorial.framework` dependency comes from the sister `Unity-UtilityPackages` repo via Git URL — Unity will need network access on first import.

# Agent Instructions for this Meta Quest / Horizon OS Sample
Comment thread .mcp.json
Comment on lines +4 to +5
"command": "npx",
"args": ["-y", "@meta-quest/hzdb", "mcp", "server"]
@zbowling zbowling force-pushed the add-agentic-tooling branch 9 times, most recently from d3adc49 to 54afaf1 Compare May 28, 2026 01:25
Adds repository instructions, MCP configuration, VS Code/Cursor extension recommendations, and setup docs for Meta Quest Agentic Tools.
@zbowling zbowling force-pushed the add-agentic-tooling branch from 54afaf1 to ed97d0b Compare May 28, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants